package com.wtwd.device.handler;


import com.wtwd.device.protocol.AppProtocol;
import io.netty.channel.Channel;


/**
 * 接收设备消息处理器
 */
public interface ProcessMessageHandler {


    /**
     * 解析并处理消息
     *
     * @param appProtocol
     * @param channel
     * @return
     */
    AppProtocol processMsg(AppProtocol appProtocol, Channel channel);
}
